package visitor;

/**
 * @author wcj
 * @Date 2021/7/12 20:32
 * @Version 1.0
 */
public class Fail extends Visitor {

    @Override
    public void visitMan(Man man) {
        System.out.println("男人失败时，沉默寡言！");
    }

    @Override
    public void visitWoman(Woman woman) {
        System.out.println("女人失败时，眼泪汪汪！");
    }
}
